<div id="signup">
  <div class="header">
    <div id="logo">
      <img src="/assets/rails.png" />
      <p>RoR</p>
    </div>
    <div id="jumpLink">
      <%= link_to "CANCEL", :profile, class: 'jumpLink' %>
      <span class="icon-creater"></span>
    </div>
  </div>

  <% if @user.errors.any? %>
  <ul class="notice">
    <% for message_error in @user.errors.full_messages %>
      <li><span class="icon-warning"></span>
        <div class="errorLabel">
          <p><%= message_error %></p>
        </div>
      </li>
      <% end %>
  </ul>
  <% end %>

  <div class= "authentication">
    <%= form_for(:user, :url => {:controller => 'users', :action => 'update'}) do |f| %>
      <label>Username</label><p><%= @user.username %></p>
      <label>Email</label><p><%= @user.email %></p>
      <label>Password</label><%= f.password_field :password%>
      <label>Re-enter password</label><%= f.password_field :password_confirmation%>
      <div class="formItem">
        <%= f.submit "Change", :class => 'submitButton' %>
      </div>
    <% end %>

  </div>
</div>